/*
 * Copyright 2011 The Apache Software Foundation.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package fr.gaellalire.jzip.test.macosx;

/*
 * Copyright (c) 2002-2009 David Kocher. All rights reserved.
 *
 * http://cyberduck.ch/
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * Bug fixes, suggestions and comments should be sent to:
 * dkocher@cyberduck.ch
 */

import org.rococoa.ID;
import org.rococoa.ObjCClass;
import org.rococoa.cocoa.CGFloat;
import org.rococoa.cocoa.foundation.NSArray;
import org.rococoa.cocoa.foundation.NSDate;
import org.rococoa.cocoa.foundation.NSDictionary;
import org.rococoa.cocoa.foundation.NSImage;
import org.rococoa.cocoa.foundation.NSInteger;
import org.rococoa.cocoa.foundation.NSNotification;
import org.rococoa.cocoa.foundation.NSObject;
import org.rococoa.cocoa.foundation.NSPoint;
import org.rococoa.cocoa.foundation.NSRect;
import org.rococoa.cocoa.foundation.NSSize;
import org.rococoa.cocoa.foundation.NSUInteger;
import org.rococoa.cocoa.foundation.NSURL;

import fr.gaellalire.jzip.macosx.cocoa.NSPasteboard;


/// <i>native declaration : :119</i>
public abstract class NSWindow extends NSObject {
    private static final _Class CLASS = org.rococoa.Rococoa.createClass("NSWindow", _Class.class);

    /// <i>native declaration : line 22</i>
    public static final int NSBorderlessWindowMask = 0;
    /// <i>native declaration : line 23</i>
    public static final int NSTitledWindowMask = 1 << 0;
    /// <i>native declaration : line 24</i>
    public static final int NSClosableWindowMask = 1 << 1;
    /// <i>native declaration : line 25</i>
    public static final int NSMiniaturizableWindowMask = 1 << 2;
    /// <i>native declaration : line 26</i>
    public static final int NSResizableWindowMask = 1 << 3;
    /**
     * Specifies a window with textured background (eg. metal)<br>
     * <i>native declaration : line 34</i>
     */
    public static final int NSTexturedBackgroundWindowMask = 1 << 8;
    /**
     * Specifies a window that ignores the userSpaceScaleFactor of the NSScreen on which it is created.  Currently restricted to borderless windows (NSBorderlessWindowMask)<br>
     * <i>native declaration : line 42</i>
     */
    public static final int NSUnscaledWindowMask = 1 << 11;
    /**
     * Specifies a window whose titlebar and toolbar have a unified look - that is, a continuous background<br>
     * <i>native declaration : line 48</i>
     */
    public static final int NSUnifiedTitleAndToolbarWindowMask = 1 << 12;
    /**
     * used with NSRunLoop's performSelector:target:argument:order:modes:<br>
     * <i>native declaration : line 55</i>
     */
    public static final int NSDisplayWindowRunLoopOrdering = 600000;
    /**
     * used with NSRunLoop's performSelector:target:argument:order:modes:<br>
     * <i>native declaration : line 56</i>
     */
    public static final int NSResetCursorRectsRunLoopOrdering = 700000;
    /**
     * Window contents may not be read by another process<br>
     * <i>native declaration : line 62</i>
     */
    public static final int NSWindowSharingNone = 0;
    /**
     * Window contents may be read but not modified by another process<br>
     * <i>native declaration : line 63</i>
     */
    public static final int NSWindowSharingReadOnly = 1;
    /**
     * Window contents may be read or modified by another process<br>
     * <i>native declaration : line 64</i>
     */
    public static final int NSWindowSharingReadWrite = 2;
    /**
     * System determines if window backing store is in VRAM or main memory<br>
     * <i>native declaration : line 70</i>
     */
    public static final int NSWindowBackingLocationDefault = 0;
    /**
     * Window backing store is in VRAM<br>
     * <i>native declaration : line 71</i>
     */
    public static final int NSWindowBackingLocationVideoMemory = 1;
    /**
     * Window backing store is in main memory<br>
     * <i>native declaration : line 72</i>
     */
    public static final int NSWindowBackingLocationMainMemory = 2;
    /// <i>native declaration : line 78</i>
    public static final int NSWindowCollectionBehaviorDefault = 0;
    /// <i>native declaration : line 79</i>
    public static final int NSWindowCollectionBehaviorCanJoinAllSpaces = 1 << 0;
    /// <i>native declaration : line 80</i>
    public static final int NSWindowCollectionBehaviorMoveToActiveSpace = 1 << 1;
    /**
     * You may specify at most one of NSWindowCollectionBehaviorManaged, NSWindowCollectionBehaviorTransient, or NSWindowCollectionBehaviorStationary.  If unspecified, the window gets the default behavior determined by its window level<br>
     * participates in spaces, expos\u00e9.  Default behavior if windowLevel == NSNormalWindowLevel<br>
     * <i>native declaration : line 86</i>
     */
    public static final int NSWindowCollectionBehaviorManaged = 1 << 2;
    /**
     * You may specify at most one of NSWindowCollectionBehaviorManaged, NSWindowCollectionBehaviorTransient, or NSWindowCollectionBehaviorStationary.  If unspecified, the window gets the default behavior determined by its window level<br>
     * floats in spaces, hidden by expos\u00e9.  Default behavior if windowLevel != NSNormalWindowLevel<br>
     * <i>native declaration : line 87</i>
     */
    public static final int NSWindowCollectionBehaviorTransient = 1 << 3;
    /**
     * You may specify at most one of NSWindowCollectionBehaviorManaged, NSWindowCollectionBehaviorTransient, or NSWindowCollectionBehaviorStationary.  If unspecified, the window gets the default behavior determined by its window level<br>
     * unaffected by expos\u00e9.  Stays visible and stationary, like desktop window<br>
     * <i>native declaration : line 88</i>
     */
    public static final int NSWindowCollectionBehaviorStationary = 1 << 4;
    /**
     * You may specify at most one of NSWindowCollectionBehaviorParticipatesInCycle or NSWindowCollectionBehaviorIgnoresCycle.  If unspecified, the window gets the default behavior determined by its window level<br>
     * default behavior if windowLevel == NSNormalWindowLevel<br>
     * <i>native declaration : line 93</i>
     */
    public static final int NSWindowCollectionBehaviorParticipatesInCycle = 1 << 5;
    /**
     * You may specify at most one of NSWindowCollectionBehaviorParticipatesInCycle or NSWindowCollectionBehaviorIgnoresCycle.  If unspecified, the window gets the default behavior determined by its window level<br>
     * default behavior if windowLevel != NSNormalWindowLevel<br>
     * <i>native declaration : line 94</i>
     */
    public static final int NSWindowCollectionBehaviorIgnoresCycle = 1 << 6;

    /// enum values
    public static interface NSWindowCollectionBehavior {
        public static final int NSWindowNumberListAllApplications = 1 << 0;
        public static final int NSWindowNumberListAllSpaces = 1 << 4;
    }

    /// enum values
    public static interface NSSelectionDirection {
        public static final int NSDirectSelection = 0;
        public static final int NSSelectingNext = 1;
        public static final int NSSelectingPrevious = 2;
    }

    /// enum values
    public static interface NSWindowButton {
        public static final int NSWindowCloseButton = 0;
        public static final int NSWindowMiniaturizeButton = 1;
        public static final int NSWindowZoomButton = 2;
        public static final int NSWindowToolbarButton = 3;
        public static final int NSWindowDocumentIconButton = 4;
    }

    public interface _Class extends ObjCClass {
        /**
         * <i>native declaration : :217</i><br>
         * Conversion Error : NSRect
         */
        NSRect contentRectForFrameRect_styleMask(NSRect windowFrame, NSUInteger windowStyle);

        /**
         * <i>native declaration : :218</i><br>
         * Conversion Error : NSRect
         */
        NSRect frameRectForContentRect_styleMask(NSRect cRect, NSUInteger aStyle);

        /**
         * Original signature : <code>CGFloat minFrameWidthWithTitle(NSString*, NSUInteger)</code><br>
         * <i>native declaration : :219</i>
         */
        CGFloat minFrameWidthWithTitle_styleMask(String aTitle, NSUInteger aStyle);

        /**
         * Original signature : <code>defaultDepthLimit()</code><br>
         * <i>native declaration : :220</i>
         */
        NSObject defaultDepthLimit();

        /**
         * Original signature : <code>void removeFrameUsingName(NSString*)</code><br>
         * <i>native declaration : :473</i>
         */
        void removeFrameUsingName(String name);

    }

    public static interface Delegate {
        /**
         * Tells the delegate that the user has attempted to close a window or the window has
         * received a performClose: message. This method is optional.
         * <p/>
         * This method may not always be called during window closing. Specifically, this method
         * is not called when a user quits an application. You can find additional information on
         * application termination in Graceful Application Termination.
         *
         * @param sender
         * @return
         */
        public boolean windowShouldClose(NSWindow sender);

        /**
         * Tells the delegate that the user has attempted to close a window or the window has received
         * a performClose: message. This method is optional.
         * <p/>
         * You can retrieve the NSWindow object in question by sending object to notification.
         *
         * @param notification
         */
        public void windowWillClose(NSNotification notification);

        /**
         * Informs the delegate that the window has become the key window. This method is optional.
         * <p/>
         * You can retrieve the window object in question by sending object to notification.
         *
         * @param notification
         */
        public void windowDidBecomeKey(NSNotification notification);
        public void windowDidBecomeMain(NSNotification notification);

        /**
         * Informs the delegate that the window has resigned key window status. This method is optional.
         * <p/>
         * You can retrieve the window object in question by sending object to notification.
         *
         * @param notification
         */
        public void windowDidResignKey(NSNotification notification);
        public void windowDidResignMain(NSNotification notification);


        public void windowWillMove(NSNotification notification);
        public void windowDidMove(NSNotification notification);
        public void windowDidChangeScreen(NSNotification notification);
        public void windowDidChangeScreenProfile(NSNotification notification);

        public boolean window_shouldDragDocumentWithEvent_from_withPasteboard(NSWindow window, NSEvent event, NSPoint dragImageLocation, NSPasteboard pasteboard);

    }

    /**
     * <i>native declaration : :223</i><br>
     * Conversion Error : NSRect
     */
    public static CGFloat minFrameWidthWithTitle_styleMask(String aTitle, org.rococoa.cocoa.foundation.NSUInteger aStyle) {
        return CLASS.minFrameWidthWithTitle_styleMask(aTitle, aStyle);
    }

    /**
     * Original signature : <code>+(CGFloat)minFrameWidthWithTitle:(NSString*) styleMask:(NSUInteger)</code><br>
     * <i>native declaration : line 248</i>
     */
    public static NSRect contentRectForFrameRect_styleMask(NSRect windowFrame, NSUInteger windowStyle) {
        return CLASS.contentRectForFrameRect_styleMask(windowFrame, windowStyle);
    }

    /**
     * <i>native declaration : :224</i><br>
     * Conversion Error : NSRect
     */
    public static NSRect frameRectForContentRect_styleMask(NSRect cRect, NSUInteger aStyle) {
        return CLASS.frameRectForContentRect_styleMask(cRect, aStyle);
    }

    /**
     * <i>native declaration : :227</i><br>
     * Conversion Error : NSRect
     */
    /**
     * <i>native declaration : :228</i><br>
     * Conversion Error : NSRect
     */
    /**
     * Original signature : <code>NSString* title()</code><br>
     * <i>native declaration : :230</i>
     */
    public abstract String title();

    /**
     * Original signature : <code>void setTitle(NSString*)</code><br>
     * <i>native declaration : :231</i>
     */
    public abstract void setTitle(String aString);

    /**
     * setRepresentedURL:<br>
     * If url is not nil and its path is not empty, the window will show a document icon in the titlebar.  <br>
     * If the url represents a filename or other resource with a known icon, that icon will be used as the document icon.  Otherwise the default document icon will be used.  The icon can be customized using [[NSWindow standardWindowButton:NSWindowDocumentIconButton] setImage:customImage].  If url is not nil and its path is not empty, the window will have a pop-up menu which can be shown via command-click on the area containing the document icon and title.  By default, this menu will display the path components of the url.  The presence and contents of this menu can be controlled by the delegate method window:shouldPopUpDocumentPathMenu:If the url is nil or has an empty path, the window will not show a document icon and will not have a pop-up menu available via command-click.<br>
     * Original signature : <code>void setRepresentedURL(NSURL*)</code><br>
     * <i>native declaration : :237</i>
     */
    public abstract void setRepresentedURL(NSURL url);

    /**
     * Original signature : <code>NSURL* representedURL()</code><br>
     * <i>native declaration : :238</i>
     */
    public abstract NSURL representedURL();

    /**
     * Original signature : <code>NSString* representedFilename()</code><br>
     * <i>native declaration : :240</i>
     */
    public abstract String representedFilename();

    /**
     * Original signature : <code>void setRepresentedFilename(NSString*)</code><br>
     * <i>native declaration : :241</i>
     */
    public abstract void setRepresentedFilename(String aString);

    /**
     * Original signature : <code>void setTitleWithRepresentedFilename(NSString*)</code><br>
     * <i>native declaration : :242</i>
     */
    public abstract void setTitleWithRepresentedFilename(String filename);

    /**
     * Original signature : <code>void setExcludedFromWindowsMenu(BOOL)</code><br>
     * <i>native declaration : :243</i>
     */
    public abstract void setExcludedFromWindowsMenu(boolean flag);

    /**
     * Original signature : <code>BOOL isExcludedFromWindowsMenu()</code><br>
     * <i>native declaration : :244</i>
     */
    public abstract boolean isExcludedFromWindowsMenu();

    /**
     * Original signature : <code>void setContentView(NSView*)</code><br>
     * <i>native declaration : :245</i>
     */
    public abstract void setContentView(NSView aView);

    /**
     * Original signature : <code>id contentView()</code><br>
     * <i>native declaration : :246</i>
     */
    public abstract NSView contentView();

    /**
     * Original signature : <code>void setDelegate(id)</code><br>
     * <i>native declaration : :247</i>
     */
    public abstract void setDelegate(org.rococoa.ID anObject);

    /**
     * Original signature : <code>id delegate()</code><br>
     * <i>native declaration : :248</i>
     */
    public abstract org.rococoa.ID delegate();

    /**
     * Original signature : <code>NSInteger windowNumber()</code><br>
     * <i>native declaration : :249</i>
     */
    public abstract NSInteger windowNumber();

    /**
     * Original signature : <code>NSUInteger styleMask()</code><br>
     * <i>native declaration : :250</i>
     */
    public abstract NSUInteger styleMask();


    /**
     * Original signature : <code>void endEditingFor(id)</code><br>
     * <i>native declaration : :252</i>
     */
    public abstract void endEditingFor(NSObject anObject);
    /**
     * <i>native declaration : :254</i><br>
     * Conversion Error : NSRect
     */
    /**
     * <i>native declaration : :255</i><br>
     * Conversion Error : NSRect
     */
    /**
     * <i>native declaration : :256</i><br>
     * Conversion Error : NSSize
     */
    /**
     * <i>native declaration : :257</i><br>
     * Conversion Error : /// Original signature : <code>void setFrameOrigin(null)</code><br>
     * - (void)setFrameOrigin:(null)aPoint; (Argument aPoint cannot be converted)
     */
    public abstract void setFrameOrigin(NSPoint aPoint);

    /**
     * <i>native declaration : :258</i><br>
     * Conversion Error : /// Original signature : <code>void setFrameTopLeftPoint(null)</code><br>
     * - (void)setFrameTopLeftPoint:(null)aPoint; (Argument aPoint cannot be converted)
     */
    public abstract void setFrameTopLeftPoint(NSPoint aPoint);

    /**
     * <i>native declaration : :259</i><br>
     * Conversion Error : /// Original signature : <code>cascadeTopLeftFromPoint(null)</code><br>
     * - (null)cascadeTopLeftFromPoint:(null)topLeftPoint; (Argument topLeftPoint cannot be converted)
     */
    public abstract NSPoint cascadeTopLeftFromPoint(NSPoint topLeftPoint);

    /**
     * <i>native declaration : :260</i><br>
     * Conversion Error : NSRect
     */
    public abstract NSRect frame();

    /**
     * <i>native declaration : :265</i><br>
     * Conversion Error : NSRect
     */
    public abstract void setFrame_display_animate(NSRect frameRect, boolean displayFlag, boolean animateFlag);
    /**
     * <i>native declaration : :268</i><br>
     * Conversion Error : NSRect
     */
    /**
     * show/hide resize corner (does not affect whether window is resizable)<br>
     * Original signature : <code>void setShowsResizeIndicator(BOOL)</code><br>
     * <i>native declaration : :271</i>
     */
    public abstract void setShowsResizeIndicator(boolean show);

    /**
     * Original signature : <code>BOOL showsResizeIndicator()</code><br>
     * <i>native declaration : :272</i>
     */
    public abstract boolean showsResizeIndicator();
    /**
     * <i>native declaration : :274</i><br>
     * Conversion Error : NSSize
     */
    /**
     * <i>native declaration : :275</i><br>
     * Conversion Error : NSSize
     */
    /**
     * <i>native declaration : :276</i><br>
     * Conversion Error : NSSize
     */
    /**
     * <i>native declaration : :277</i><br>
     * Conversion Error : NSSize
     */
    /**
     * <i>native declaration : :280</i><br>
     * Conversion Error : NSSize
     */
    /**
     * <i>native declaration : :281</i><br>
     * Conversion Error : NSSize
     */
    /**
     * <i>native declaration : :282</i><br>
     * Conversion Error : NSSize
     */
    /**
     * <i>native declaration : :283</i><br>
     * Conversion Error : NSSize
     */
    /**
     * Original signature : <code>void useOptimizedDrawing(BOOL)</code><br>
     * <i>native declaration : :286</i>
     */
    public abstract void useOptimizedDrawing(boolean flag);

    /**
     * Original signature : <code>void disableFlushWindow()</code><br>
     * <i>native declaration : :287</i>
     */
    public abstract void disableFlushWindow();

    /**
     * Original signature : <code>void enableFlushWindow()</code><br>
     * <i>native declaration : :288</i>
     */
    public abstract void enableFlushWindow();

    /**
     * Original signature : <code>BOOL isFlushWindowDisabled()</code><br>
     * <i>native declaration : :289</i>
     */
    public abstract boolean isFlushWindowDisabled();

    /**
     * Original signature : <code>void flushWindow()</code><br>
     * <i>native declaration : :290</i>
     */
    public abstract void flushWindow();

    /**
     * Original signature : <code>void flushWindowIfNeeded()</code><br>
     * <i>native declaration : :291</i>
     */
    public abstract void flushWindowIfNeeded();

    /**
     * Original signature : <code>void setViewsNeedDisplay(BOOL)</code><br>
     * <i>native declaration : :292</i>
     */
    public abstract void setViewsNeedDisplay(boolean flag);

    /**
     * Original signature : <code>BOOL viewsNeedDisplay()</code><br>
     * <i>native declaration : :293</i>
     */
    public abstract boolean viewsNeedDisplay();

    /**
     * Original signature : <code>void displayIfNeeded()</code><br>
     * <i>native declaration : :294</i>
     */
    public abstract void displayIfNeeded();

    /**
     * Original signature : <code>void display()</code><br>
     * <i>native declaration : :295</i>
     */
    public abstract void display();

    /**
     * Original signature : <code>void setAutodisplay(BOOL)</code><br>
     * <i>native declaration : :296</i>
     */
    public abstract void setAutodisplay(boolean flag);

    /**
     * Original signature : <code>BOOL isAutodisplay()</code><br>
     * <i>native declaration : :297</i>
     */
    public abstract boolean isAutodisplay();

    /**
     * Original signature : <code>BOOL preservesContentDuringLiveResize()</code><br>
     * <i>native declaration : :300</i>
     */
    public abstract boolean preservesContentDuringLiveResize();

    /**
     * Original signature : <code>void setPreservesContentDuringLiveResize(BOOL)</code><br>
     * <i>native declaration : :301</i>
     */
    public abstract void setPreservesContentDuringLiveResize(boolean flag);

    /**
     * Original signature : <code>void update()</code><br>
     * <i>native declaration : :304</i>
     */
    public abstract void update();


    /**
     * Original signature : <code>NSInteger resizeFlags()</code><br>
     * <i>native declaration : :307</i>
     */
    public abstract int resizeFlags();

    /**
     * Original signature : <code>void close()</code><br>
     * <i>native declaration : :309</i>
     */
    public abstract void close();

    /**
     * Original signature : <code>void setReleasedWhenClosed(BOOL)</code><br>
     * <i>native declaration : :310</i>
     */
    public abstract void setReleasedWhenClosed(boolean flag);

    /**
     * Original signature : <code>BOOL isReleasedWhenClosed()</code><br>
     * <i>native declaration : :311</i>
     */
    public abstract boolean isReleasedWhenClosed();

    /**
     * Original signature : <code>void miniaturize(id)</code><br>
     * <i>native declaration : :312</i>
     */
    public abstract void miniaturize(final ID sender);

    /**
     * Original signature : <code>void deminiaturize(id)</code><br>
     * <i>native declaration : :313</i>
     */
    public abstract void deminiaturize(final ID sender);

    /**
     * Original signature : <code>BOOL isZoomed()</code><br>
     * <i>native declaration : :314</i>
     */
    public abstract boolean isZoomed();

    /**
     * Original signature : <code>void zoom(id)</code><br>
     * <i>native declaration : :315</i>
     */
    public abstract void zoom(final ID sender);

    /**
     * Original signature : <code>BOOL isMiniaturized()</code><br>
     * <i>native declaration : :316</i>
     */
    public abstract boolean isMiniaturized();
    /**
     * <i>native declaration : :317</i><br>
     * Conversion Error : /// Original signature : <code>BOOL tryToPerform(null, id)</code><br>
     * - (BOOL)tryToPerform:(null)anAction with:(id)anObject; (Argument anAction cannot be converted)
     */
    /**
     * Original signature : <code>id validRequestorForSendType(NSString*, NSString*)</code><br>
     * <i>native declaration : :318</i>
     */
    public abstract NSObject validRequestorForSendType_returnType(com.sun.jna.Pointer sendType, com.sun.jna.Pointer returnType);


    /**
     * Original signature : <code>NSColor* backgroundColor()</code><br>
     * <i>native declaration : :320</i>
     */
    /**
     * <i>native declaration : :323</i><br>
     * Conversion Error : /// Original signature : <code>void setContentBorderThickness(CGFloat, null)</code><br>
     * - (void)setContentBorderThickness:(CGFloat)thickness forEdge:(null)edge; (Argument edge cannot be converted)
     */
    /**
     * <i>native declaration : :324</i><br>
     * Conversion Error : /// Original signature : <code>CGFloat contentBorderThicknessForEdge(null)</code><br>
     * - (CGFloat)contentBorderThicknessForEdge:(null)edge; (Argument edge cannot be converted)
     */
    /**
     * <i>native declaration : :326</i><br>
     * Conversion Error : /// Original signature : <code>void setAutorecalculatesContentBorderThickness(BOOL, null)</code><br>
     * - (void)setAutorecalculatesContentBorderThickness:(BOOL)flag forEdge:(null)edge; (Argument edge cannot be converted)
     */
    /**
     * <i>native declaration : :327</i><br>
     * Conversion Error : /// Original signature : <code>BOOL autorecalculatesContentBorderThicknessForEdge(null)</code><br>
     * - (BOOL)autorecalculatesContentBorderThicknessForEdge:(null)edge; (Argument edge cannot be converted)
     */
    /**
     * Original signature : <code>void setMovableByWindowBackground(BOOL)</code><br>
     * <i>native declaration : :331</i>
     */
    public abstract void setMovableByWindowBackground(boolean flag);

    /**
     * Original signature : <code>BOOL isMovableByWindowBackground()</code><br>
     * <i>native declaration : :332</i>
     */
    public abstract boolean isMovableByWindowBackground();

    /**
     * Original signature : <code>void setHidesOnDeactivate(BOOL)</code><br>
     * <i>native declaration : :335</i>
     */
    public abstract void setHidesOnDeactivate(boolean flag);

    /**
     * Original signature : <code>BOOL hidesOnDeactivate()</code><br>
     * <i>native declaration : :336</i>
     */
    public abstract boolean hidesOnDeactivate();

    /**
     * indicate whether a window can be hidden during -[NSApplication hide:].  Default is YES<br>
     * Original signature : <code>void setCanHide(BOOL)</code><br>
     * <i>native declaration : :339</i>
     */
    public abstract void setCanHide(boolean flag);

    /**
     * Original signature : <code>BOOL canHide()</code><br>
     * <i>native declaration : :340</i>
     */
    public abstract boolean canHide();

    /**
     * Original signature : <code>void center()</code><br>
     * <i>native declaration : :342</i>
     */
    public abstract void center();

    /**
     * Original signature : <code>void makeKeyAndOrderFront(id)</code><br>
     * <i>native declaration : :343</i>
     */
    public abstract void makeKeyAndOrderFront(final ID sender);

    /**
     * Original signature : <code>void orderFront(id)</code><br>
     * <i>native declaration : :344</i>
     */
    public abstract void orderFront(final ID sender);

    /**
     * Original signature : <code>void orderBack(id)</code><br>
     * <i>native declaration : :345</i>
     */
    public abstract void orderBack(final ID sender);

    /**
     * Original signature : <code>void orderOut(id)</code><br>
     * <i>native declaration : :346</i>
     */
    public abstract void orderOut(final ID sender);
    /**
     * <i>native declaration : :347</i><br>
     * Conversion Error : /// Original signature : <code>void orderWindow(null, NSInteger)</code><br>
     * - (void)orderWindow:(null)place relativeTo:(NSInteger)otherWin; (Argument place cannot be converted)
     */
    /**
     * Original signature : <code>void orderFrontRegardless()</code><br>
     * <i>native declaration : :348</i>
     */
    public abstract void orderFrontRegardless();

    /**
     * Original signature : <code>void setMiniwindowImage(NSImage*)</code><br>
     * <i>native declaration : :350</i>
     */
    public abstract void setMiniwindowImage(NSImage image);

    /**
     * Original signature : <code>void setMiniwindowTitle(NSString*)</code><br>
     * <i>native declaration : :351</i>
     */
    public abstract void setMiniwindowTitle(String title);

    /**
     * Original signature : <code>NSImage* miniwindowImage()</code><br>
     * <i>native declaration : :352</i>
     */
    public abstract NSImage miniwindowImage();

    /**
     * Original signature : <code>NSString* miniwindowTitle()</code><br>
     * <i>native declaration : :353</i>
     */
    public abstract String miniwindowTitle();

    /**
     * Original signature : <code>NSDockTile* dockTile()</code><br>
     * <i>native declaration : :356</i>
     */

    /**
     * Original signature : <code>void setDocumentEdited(BOOL)</code><br>
     * <i>native declaration : :359</i>
     */
    public abstract void setDocumentEdited(boolean flag);

    /**
     * Original signature : <code>BOOL isDocumentEdited()</code><br>
     * <i>native declaration : :360</i>
     */
    public abstract boolean isDocumentEdited();

    /**
     * Original signature : <code>BOOL isVisible()</code><br>
     * <i>native declaration : :361</i>
     */
    public abstract boolean isVisible();

    /**
     * Original signature : <code>BOOL isKeyWindow()</code><br>
     * <i>native declaration : :362</i>
     */
    public abstract boolean isKeyWindow();

    /**
     * Original signature : <code>BOOL isMainWindow()</code><br>
     * <i>native declaration : :363</i>
     */
    public abstract boolean isMainWindow();

    /**
     * Original signature : <code>BOOL canBecomeKeyWindow()</code><br>
     * <i>native declaration : :364</i>
     */
    public abstract boolean canBecomeKeyWindow();

    /**
     * Original signature : <code>BOOL canBecomeMainWindow()</code><br>
     * <i>native declaration : :365</i>
     */
    public abstract boolean canBecomeMainWindow();

    /**
     * Original signature : <code>void makeKeyWindow()</code><br>
     * <i>native declaration : :366</i>
     */
    public abstract void makeKeyWindow();

    /**
     * Original signature : <code>void makeMainWindow()</code><br>
     * <i>native declaration : :367</i>
     */
    public abstract void makeMainWindow();

    /**
     * Original signature : <code>void becomeKeyWindow()</code><br>
     * <i>native declaration : :368</i>
     */
    public abstract void becomeKeyWindow();

    /**
     * Original signature : <code>void resignKeyWindow()</code><br>
     * <i>native declaration : :369</i>
     */
    public abstract void resignKeyWindow();

    /**
     * Original signature : <code>void becomeMainWindow()</code><br>
     * <i>native declaration : :370</i>
     */
    public abstract void becomeMainWindow();

    /**
     * Original signature : <code>void resignMainWindow()</code><br>
     * <i>native declaration : :371</i>
     */
    public abstract void resignMainWindow();

    /**
     * Original signature : <code>BOOL worksWhenModal()</code><br>
     * <i>native declaration : :373</i>
     */
    public abstract boolean worksWhenModal();
    /**
     * <i>native declaration : :374</i><br>
     * Conversion Error : /// Original signature : <code>convertBaseToScreen(null)</code><br>
     * - (null)convertBaseToScreen:(null)aPoint; (Argument aPoint cannot be converted)
     */
    /**
     * <i>native declaration : :375</i><br>
     * Conversion Error : /// Original signature : <code>convertScreenToBase(null)</code><br>
     * - (null)convertScreenToBase:(null)aPoint; (Argument aPoint cannot be converted)
     */
    /**
     * Original signature : <code>void performClose(id)</code><br>
     * <i>native declaration : :376</i>
     */
    public abstract void performClose(final ID sender);

    /**
     * Original signature : <code>void performMiniaturize(id)</code><br>
     * <i>native declaration : :377</i>
     */
    public abstract void performMiniaturize(final ID sender);

    /**
     * Original signature : <code>void performZoom(id)</code><br>
     * <i>native declaration : :378</i>
     */
    public abstract void performZoom(final ID sender);

    /**
     * Original signature : <code>NSInteger gState()</code><br>
     * <i>native declaration : :379</i>
     */
    public abstract int gState();

    /**
     * Original signature : <code>void setOneShot(BOOL)</code><br>
     * <i>native declaration : :380</i>
     */
    public abstract void setOneShot(boolean flag);

    /**
     * Original signature : <code>BOOL isOneShot()</code><br>
     * <i>native declaration : :381</i>
     */
    public abstract boolean isOneShot();
    /**
     * <i>native declaration : :382</i><br>
     * Conversion Error : NSRect
     */
    /**
     * <i>native declaration : :383</i><br>
     * Conversion Error : NSRect
     */
    /**
     * Original signature : <code>void print(id)</code><br>
     * <i>native declaration : :384</i>
     */
    public abstract void print(final ID sender);

    /**
     * Original signature : <code>void disableCursorRects()</code><br>
     * <i>native declaration : :386</i>
     */
    public abstract void disableCursorRects();

    /**
     * Original signature : <code>void enableCursorRects()</code><br>
     * <i>native declaration : :387</i>
     */
    public abstract void enableCursorRects();

    /**
     * Original signature : <code>void discardCursorRects()</code><br>
     * <i>native declaration : :388</i>
     */
    public abstract void discardCursorRects();

    /**
     * Original signature : <code>BOOL areCursorRectsEnabled()</code><br>
     * <i>native declaration : :389</i>
     */
    public abstract boolean areCursorRectsEnabled();

    /**
     * Original signature : <code>void invalidateCursorRectsForView(NSView*)</code><br>
     * <i>native declaration : :390</i>
     */
    public abstract void invalidateCursorRectsForView(com.sun.jna.Pointer aView);

    /**
     * Original signature : <code>void resetCursorRects()</code><br>
     * <i>native declaration : :391</i>
     */
    public abstract void resetCursorRects();

    /**
     * Original signature : <code>void setAllowsToolTipsWhenApplicationIsInactive(BOOL)</code><br>
     * <i>native declaration : :394</i>
     */
    public abstract void setAllowsToolTipsWhenApplicationIsInactive(boolean allowWhenInactive);

    /**
     * Original signature : <code>BOOL allowsToolTipsWhenApplicationIsInactive()</code><br>
     * <i>native declaration : :397</i>
     */
    public abstract boolean allowsToolTipsWhenApplicationIsInactive();
    /**
     * <i>native declaration : :401</i><br>
     * Conversion Error : /// Original signature : <code>void setBackingType(null)</code><br>
     * - (void)setBackingType:(null)bufferingType; (Argument bufferingType cannot be converted)
     */
    /**
     * Original signature : <code>backingType()</code><br>
     * <i>native declaration : :402</i>
     */
    public abstract NSObject backingType();

    /**
     * Original signature : <code>void setLevel(NSInteger)</code><br>
     * <i>native declaration : :403</i>
     */
    public abstract void setLevel(int newLevel);

    /**
     * Original signature : <code>NSInteger level()</code><br>
     * <i>native declaration : :404</i>
     */
    public abstract int level();
    /**
     * <i>native declaration : :405</i><br>
     * Conversion Error : /// Original signature : <code>void setDepthLimit(null)</code><br>
     * - (void)setDepthLimit:(null)limit; (Argument limit cannot be converted)
     */
    /**
     * Original signature : <code>depthLimit()</code><br>
     * <i>native declaration : :406</i>
     */
    public abstract NSObject depthLimit();

    /**
     * Original signature : <code>void setDynamicDepthLimit(BOOL)</code><br>
     * <i>native declaration : :407</i>
     */
    public abstract void setDynamicDepthLimit(boolean flag);

    /**
     * Original signature : <code>BOOL hasDynamicDepthLimit()</code><br>
     * <i>native declaration : :408</i>
     */
    public abstract boolean hasDynamicDepthLimit();

    /**
     * Original signature : <code>NSScreen* screen()</code><br>
     * <i>native declaration : :409</i>
     */
    public abstract com.sun.jna.Pointer screen();

    /**
     * Original signature : <code>NSScreen* deepestScreen()</code><br>
     * <i>native declaration : :410</i>
     */
    public abstract com.sun.jna.Pointer deepestScreen();

    /**
     * Original signature : <code>BOOL canStoreColor()</code><br>
     * <i>native declaration : :411</i>
     */
    public abstract boolean canStoreColor();

    /**
     * Original signature : <code>void setHasShadow(BOOL)</code><br>
     * <i>native declaration : :412</i>
     */
    public abstract void setHasShadow(boolean hasShadow);

    /**
     * Original signature : <code>BOOL hasShadow()</code><br>
     * <i>native declaration : :413</i>
     */
    public abstract boolean hasShadow();

    /**
     * Original signature : <code>void invalidateShadow()</code><br>
     * <i>native declaration : :415</i>
     */
    public abstract void invalidateShadow();

    /**
     * Original signature : <code>void setAlphaValue(CGFloat)</code><br>
     * <i>native declaration : :417</i>
     */
    public abstract void setAlphaValue(CGFloat windowAlpha);

    /**
     * Original signature : <code>CGFloat alphaValue()</code><br>
     * <i>native declaration : :418</i>
     */
    public abstract CGFloat alphaValue();

    /**
     * Original signature : <code>void setOpaque(BOOL)</code><br>
     * <i>native declaration : :419</i>
     */
    public abstract void setOpaque(boolean isOpaque);

    /**
     * Original signature : <code>BOOL isOpaque()</code><br>
     * <i>native declaration : :420</i>
     */
    public abstract boolean isOpaque();

    /**
     * -setSharingType: specifies whether the window content can be read and/or written from another process.  The default sharing type is NSWindowSharingReadOnly, which means other processes can read the window content (eg. for window capture) but cannot modify it.  If you set your window sharing type to NSWindowSharingNone, so that the content cannot be captured, your window will also not be able to participate in a number of system services, so this setting should be used with caution.  If you set your window sharing type to NSWindowSharingReadWrite, other processes can both read and modify the window content.<br>
     * Original signature : <code>void setSharingType(NSWindowSharingType)</code><br>
     * <i>native declaration : :426</i>
     */
    public abstract void setSharingType(int type);

    /**
     * Original signature : <code>NSWindowSharingType sharingType()</code><br>
     * <i>native declaration : :427</i>
     */
    public abstract int sharingType();

    /**
     * -setPreferredBackingLocation: sets the preferred location for the window backing store.  In general, you should not use this API unless indicated by performance measurement.<br>
     * Original signature : <code>void setPreferredBackingLocation(NSWindowBackingLocation)</code><br>
     * <i>native declaration : :431</i>
     */
    public abstract void setPreferredBackingLocation(int backingLocation);

    /**
     * -preferredBackingLocation gets the preferred location for the window backing store.  This may be different from the actual location.<br>
     * Original signature : <code>NSWindowBackingLocation preferredBackingLocation()</code><br>
     * <i>native declaration : :434</i>
     */
    public abstract int preferredBackingLocation();

    /**
     * -backingLocation gets the current location of the window backing store.<br>
     * Original signature : <code>NSWindowBackingLocation backingLocation()</code><br>
     * <i>native declaration : :437</i>
     */
    public abstract int backingLocation();

    /**
     * Original signature : <code>BOOL displaysWhenScreenProfileChanges()</code><br>
     * <i>native declaration : :442</i>
     */
    public abstract boolean displaysWhenScreenProfileChanges();

    /**
     * Original signature : <code>void setDisplaysWhenScreenProfileChanges(BOOL)</code><br>
     * <i>native declaration : :443</i>
     */
    public abstract void setDisplaysWhenScreenProfileChanges(boolean flag);

    /**
     * Original signature : <code>void disableScreenUpdatesUntilFlush()</code><br>
     * <i>native declaration : :445</i>
     */
    public abstract void disableScreenUpdatesUntilFlush();

    /**
     * This API controls whether the receiver is permitted onscreen before the user has logged in.  This property is off by default.  Alert panels and windows presented by input managers are examples of windows which should have this property set.<br>
     * Original signature : <code>BOOL canBecomeVisibleWithoutLogin()</code><br>
     * <i>native declaration : :451</i>
     */
    public abstract boolean canBecomeVisibleWithoutLogin();

    /**
     * Original signature : <code>void setCanBecomeVisibleWithoutLogin(BOOL)</code><br>
     * <i>native declaration : :452</i>
     */
    public abstract void setCanBecomeVisibleWithoutLogin(boolean flag);

    /**
     * Original signature : <code>void setCollectionBehavior(NSWindowCollectionBehavior)</code><br>
     * <i>native declaration : :455</i>
     */
    public abstract void setCollectionBehavior(int behavior);

    /**
     * Original signature : <code>NSWindowCollectionBehavior collectionBehavior()</code><br>
     * <i>native declaration : :456</i>
     */
    public abstract int collectionBehavior();

    /**
     * -setCanBeVisibleOnAllSpaces: controls whether a window can be visible on all spaces (YES) or is associated with one space at a time (NO).  The default setting is NO.<br>
     * Original signature : <code>BOOL canBeVisibleOnAllSpaces()</code><br>
     * <i>native declaration : :462</i>
     */
    public abstract boolean canBeVisibleOnAllSpaces();

    /**
     * Original signature : <code>void setCanBeVisibleOnAllSpaces(BOOL)</code><br>
     * <i>native declaration : :463</i>
     */
    public abstract void setCanBeVisibleOnAllSpaces(boolean flag);

    /**
     * Original signature : <code>NSString* stringWithSavedFrame()</code><br>
     * <i>native declaration : :465</i>
     */
    public abstract String stringWithSavedFrame();

    /**
     * Original signature : <code>void setFrameFromString(NSString*)</code><br>
     * <i>native declaration : :466</i>
     */
    public abstract void setFrameFromString(String string);

    /**
     * Original signature : <code>void saveFrameUsingName(NSString*)</code><br>
     * <i>native declaration : :467</i>
     */
    public abstract void saveFrameUsingName(String name);

    /**
     * Set force=YES to use setFrameUsingName on a non-resizable window<br>
     * Original signature : <code>BOOL setFrameUsingName(NSString*, BOOL)</code><br>
     * <i>native declaration : :469</i>
     */
    public abstract boolean setFrameUsingName_force(String name, boolean force);

    /**
     * Original signature : <code>BOOL setFrameUsingName(NSString*)</code><br>
     * <i>native declaration : :470</i>
     */
    public abstract boolean setFrameUsingName(String name);

    /**
     * Original signature : <code>BOOL setFrameAutosaveName(NSString*)</code><br>
     * <i>native declaration : :471</i>
     */
    public abstract boolean setFrameAutosaveName(String name);

    /**
     * Original signature : <code>NSString* frameAutosaveName()</code><br>
     * <i>native declaration : :472</i>
     */
    public abstract String frameAutosaveName();
    /**
     * <i>native declaration : :476</i><br>
     * Conversion Error : NSRect
     */
    /**
     * Original signature : <code>void restoreCachedImage()</code><br>
     * <i>native declaration : :477</i>
     */
    public abstract void restoreCachedImage();

    /**
     * Original signature : <code>void discardCachedImage()</code><br>
     * <i>native declaration : :478</i>
     */
    public abstract void discardCachedImage();
    /**
     * <i>native declaration : :480</i><br>
     * Conversion Error : NSSize
     */
    public abstract NSSize minSize();
    /**
     * <i>native declaration : :481</i><br>
     * Conversion Error : NSSize
     */
    public abstract NSSize maxSize();

    /**
     * <i>native declaration : :482</i><br>
     * Conversion Error : NSSize
     */
    public abstract void setMinSize(NSSize size);

    /**
     * <i>native declaration : :483</i><br>
     * Conversion Error : NSSize
     */
    public abstract void setMaxSize(NSSize size);
    /**
     * <i>native declaration : :485</i><br>
     * Conversion Error : NSSize
     */
    /**
     * <i>native declaration : :486</i><br>
     * Conversion Error : NSSize
     */
    /**
     * <i>native declaration : :487</i><br>
     * Conversion Error : NSSize
     */
    /**
     * <i>native declaration : :488</i><br>
     * Conversion Error : NSSize
     */
    /**
     * Original signature : <code>NSEvent* nextEventMatchingMask(NSUInteger)</code><br>
     * <i>native declaration : :490</i>
     */
    public abstract NSEvent nextEventMatchingMask(int mask);

    /**
     * Original signature : <code>NSEvent* nextEventMatchingMask(NSUInteger, NSDate*, NSString*, BOOL)</code><br>
     * <i>native declaration : :491</i>
     */
    public abstract NSEvent nextEventMatchingMask_untilDate_inMode_dequeue(int mask, NSDate expiration, String mode, boolean deqFlag);

    /**
     * Original signature : <code>void discardEventsMatchingMask(NSUInteger, NSEvent*)</code><br>
     * <i>native declaration : :492</i>
     */
    public abstract void discardEventsMatchingMask_beforeEvent(int mask, com.sun.jna.Pointer lastEvent);

    /**
     * Original signature : <code>void postEvent(NSEvent*, BOOL)</code><br>
     * <i>native declaration : :493</i>
     */
    public abstract void postEvent_atStart(NSEvent event, boolean flag);

    /**
     * Original signature : <code>NSEvent* currentEvent()</code><br>
     * <i>native declaration : :494</i>
     */
    public abstract NSEvent currentEvent();

    /**
     * Original signature : <code>void setAcceptsMouseMovedEvents(BOOL)</code><br>
     * <i>native declaration : :495</i>
     */
    public abstract void setAcceptsMouseMovedEvents(boolean flag);

    /**
     * Original signature : <code>BOOL acceptsMouseMovedEvents()</code><br>
     * <i>native declaration : :496</i>
     */
    public abstract boolean acceptsMouseMovedEvents();

    /**
     * Original signature : <code>void setIgnoresMouseEvents(BOOL)</code><br>
     * <i>native declaration : :498</i>
     */
    public abstract void setIgnoresMouseEvents(boolean flag);

    /**
     * Original signature : <code>BOOL ignoresMouseEvents()</code><br>
     * <i>native declaration : :499</i>
     */
    public abstract boolean ignoresMouseEvents();

    /**
     * Original signature : <code>NSDictionary* deviceDescription()</code><br>
     * <i>native declaration : :501</i>
     */
    public abstract NSDictionary deviceDescription();

    /**
     * Original signature : <code>void sendEvent(NSEvent*)</code><br>
     * <i>native declaration : :502</i>
     */
    public abstract void sendEvent(NSEvent theEvent);

    /**
     * Original signature : <code>mouseLocationOutsideOfEventStream()</code><br>
     * <i>native declaration : :503</i>
     */
    public abstract NSObject mouseLocationOutsideOfEventStream();

    /**
     * Original signature : <code>id windowController()</code><br>
     * <i>native declaration : :506</i>
     */
    public abstract NSObject windowController();

    /**
     * Original signature : <code>void setWindowController(NSWindowController*)</code><br>
     * <i>native declaration : :507</i>
     */
    public abstract void setWindowController(NSObject windowController);

    /**
     * Original signature : <code>BOOL isSheet()</code><br>
     * <i>native declaration : :509</i>
     */
    public abstract boolean isSheet();

    /**
     * Original signature : <code>NSWindow* attachedSheet()</code><br>
     * <i>native declaration : :510</i>
     */
    public abstract NSWindow attachedSheet();

    /**
     * Original signature : <code>NSButton* standardWindowButton(NSWindowButton)</code><br>
     * <i>native declaration : :514</i>
     */
    /**
     * <i>native declaration : :518</i><br>
     * Conversion Error : /// Original signature : <code>void addChildWindow(NSWindow*, null)</code><br>
     * - (void)addChildWindow:(NSWindow*)childWin ordered:(null)place; (Argument place cannot be converted)
     */
    /**
     * Original signature : <code>void removeChildWindow(NSWindow*)</code><br>
     * <i>native declaration : :519</i>
     */
    public abstract void removeChildWindow(NSWindow childWin);

    /**
     * Original signature : <code>NSArray* childWindows()</code><br>
     * <i>native declaration : :520</i>
     */
    public abstract NSArray childWindows();

    /**
     * Original signature : <code>NSWindow* parentWindow()</code><br>
     * <i>native declaration : :522</i>
     */
    public abstract NSWindow parentWindow();

    /**
     * Original signature : <code>void setParentWindow(NSWindow*)</code><br>
     * <i>native declaration : :523</i>
     */
    public abstract void setParentWindow(NSWindow window);

    /**
     * Returns NSGraphicsContext used to render the receiver's content on the screen for the calling thread.<br>
     * Original signature : <code>NSGraphicsContext* graphicsContext()</code><br>
     * <i>native declaration : :529</i>
     */
    public abstract com.sun.jna.Pointer graphicsContext();

    /**
     * Returns scale factor applied to view coordinate system to get to base coordinate system of window<br>
     * Original signature : <code>CGFloat userSpaceScaleFactor()</code><br>
     * <i>native declaration : :533</i>
     */
    public abstract CGFloat userSpaceScaleFactor();

    /**
     * Original signature : <code>void setInitialFirstResponder(NSView*)</code><br>
     * <i>from NSKeyboardUI native declaration : :539</i>
     */
    public abstract void setInitialFirstResponder(NSView view);

    /**
     * Original signature : <code>NSView* initialFirstResponder()</code><br>
     * <i>from NSKeyboardUI native declaration : :540</i>
     */
    public abstract NSView initialFirstResponder();

    /**
     * Original signature : <code>void selectNextKeyView(id)</code><br>
     * <i>from NSKeyboardUI native declaration : :541</i>
     */
    public abstract void selectNextKeyView(final ID sender);

    /**
     * Original signature : <code>void selectPreviousKeyView(id)</code><br>
     * <i>from NSKeyboardUI native declaration : :542</i>
     */
    public abstract void selectPreviousKeyView(final ID sender);

    /**
     * Original signature : <code>void selectKeyViewFollowingView(NSView*)</code><br>
     * <i>from NSKeyboardUI native declaration : :543</i>
     */
    public abstract void selectKeyViewFollowingView(NSView aView);

    /**
     * Original signature : <code>void selectKeyViewPrecedingView(NSView*)</code><br>
     * <i>from NSKeyboardUI native declaration : :544</i>
     */
    public abstract void selectKeyViewPrecedingView(NSView aView);

    /**
     * Original signature : <code>NSSelectionDirection keyViewSelectionDirection()</code><br>
     * <i>from NSKeyboardUI native declaration : :545</i>
     */
    public abstract int keyViewSelectionDirection();

    /**
     * Original signature : <code>void setDefaultButtonCell(NSButtonCell*)</code><br>
     * <i>from NSKeyboardUI native declaration : :546</i>
     */

    /**
     * Original signature : <code>NSButtonCell* defaultButtonCell()</code><br>
     * <i>from NSKeyboardUI native declaration : :547</i>
     */

    /**
     * Original signature : <code>void disableKeyEquivalentForDefaultButtonCell()</code><br>
     * <i>from NSKeyboardUI native declaration : :548</i>
     */
    public abstract void disableKeyEquivalentForDefaultButtonCell();

    /**
     * Original signature : <code>void enableKeyEquivalentForDefaultButtonCell()</code><br>
     * <i>from NSKeyboardUI native declaration : :549</i>
     */
    public abstract void enableKeyEquivalentForDefaultButtonCell();

    /**
     * Original signature : <code>void setAutorecalculatesKeyViewLoop(BOOL)</code><br>
     * <i>from NSKeyboardUI native declaration : :551</i>
     */
    public abstract void setAutorecalculatesKeyViewLoop(boolean flag);

    /**
     * Original signature : <code>BOOL autorecalculatesKeyViewLoop()</code><br>
     * <i>from NSKeyboardUI native declaration : :552</i>
     */
    public abstract boolean autorecalculatesKeyViewLoop();

    /**
     * Original signature : <code>void recalculateKeyViewLoop()</code><br>
     * <i>from NSKeyboardUI native declaration : :553</i>
     */
    public abstract void recalculateKeyViewLoop();

    /**
     * Original signature : <code>void setToolbar(NSToolbar*)</code><br>
     * <i>from NSToolbarSupport native declaration : :558</i>
     */

    /**
     * Original signature : <code>NSToolbar* toolbar()</code><br>
     * <i>from NSToolbarSupport native declaration : :559</i>
     */

    /**
     * Original signature : <code>void toggleToolbarShown(id)</code><br>
     * <i>from NSToolbarSupport native declaration : :560</i>
     */
    public abstract void toggleToolbarShown(final ID sender);

    /**
     * Original signature : <code>void runToolbarCustomizationPalette(id)</code><br>
     * <i>from NSToolbarSupport native declaration : :561</i>
     */
    public abstract void runToolbarCustomizationPalette(final ID sender);

    /**
     * Original signature : <code>void setShowsToolbarButton(BOOL)</code><br>
     * <i>from NSToolbarSupport native declaration : :563</i>
     */
    public abstract void setShowsToolbarButton(boolean show);

    /**
     * Original signature : <code>BOOL showsToolbarButton()</code><br>
     * <i>from NSToolbarSupport native declaration : :564</i>
     */
    public abstract boolean showsToolbarButton();
    /**
     * <i>from NSDrag native declaration : :569</i><br>
     * Conversion Error : /// Original signature : <code>void dragImage(NSImage*, null, NSSize, NSEvent*, NSPasteboard*, id, BOOL)</code><br>
     * - (void)dragImage:(NSImage*)anImage at:(null)baseLocation offset:(NSSize)initialOffset event:(NSEvent*)event pasteboard:(NSPasteboard*)pboard source:(id)sourceObj slideBack:(BOOL)slideFlag; (Argument baseLocation cannot be converted)
     */
    /**
     * Original signature : <code>void registerForDraggedTypes(NSArray*)</code><br>
     * <i>from NSDrag native declaration : :571</i>
     */
    public abstract void registerForDraggedTypes(NSArray newTypes);

    /**
     * Original signature : <code>void unregisterDraggedTypes()</code><br>
     * <i>from NSDrag native declaration : :572</i>
     */
    public abstract void unregisterDraggedTypes();

    public static final String WindowDidBecomeKeyNotification = "NSWindowDidBecomeKeyNotification";
    public static final String WindowDidBecomeMainNotification = "NSWindowDidBecomeMainNotification";
    public static final String WindowDidChangeScreenNotification = "NSWindowDidChangeScreenNotification";
    public static final String WindowDidChangeScreenProfileNotification = "NSWindowDidChangeScreenProfileNotification";
    public static final String WindowDidDeminiaturizeNotification = "NSWindowDidDeminiaturizeNotification";
    public static final String WindowDidEndSheetNotification = "NSWindowDidEndSheetNotification";
    public static final String WindowDidExposeNotification = "NSWindowDidExposeNotification";
    public static final String WindowDidMiniaturizeNotification = "NSWindowDidMiniaturizeNotification";
    public static final String WindowDidMoveNotification = "NSWindowDidMoveNotification";
    public static final String WindowDidResignKeyNotification = "NSWindowDidResignKeyNotification";
    public static final String WindowDidResignMainNotification = "NSWindowDidResignMainNotification";
    public static final String WindowDidResizeNotification = "NSWindowDidResizeNotification";
    public static final String WindowDidUpdateNotification = "NSWindowDidUpdateNotification";
    public static final String WindowWillBeginSheetNotification = "NSWindowWillBeginSheetNotification";
    public static final String WindowWillCloseNotification = "NSWindowWillCloseNotification";
    public static final String WindowWillMiniaturizeNotification = "NSWindowWillMiniaturizeNotification";
    public static final String WindowWillMoveNotification = "NSWindowWillMoveNotification";
}
